package com.shuyuntu.proposal.vo;

import com.shuyuntu.proposal.entity.Delegate;

/**
 * Created by syt005 on 2016/4/13.
 */
public class DelegateVO {
    /**
     * 教工编号
     */
    private String id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 无参构造
     */
    public DelegateVO() {
    }

    /**
     * 根据Delegate对象的构造
     */
    public DelegateVO(Delegate delegate) {
        this.id = delegate.getId();
        this.name = delegate.getName();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
